import hashlib   
src = 'sdsddsd'.encode('utf8')
m2 = hashlib.md5()   
m2.update(src)   
print (m2.hexdigest())

def md(s):
	hashlib.md5(sign_str.encode("utf8")).hexdigest().upper()